#ifndef VCHAT_H
#define VCHAT_H

#include <QWidget>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QScrollBar>
#include <QTextEdit>

#include "../Controlers/CChat.h"
#include "../Controlers/CDesign.h"

class VChat : public QWidget
{
    Q_OBJECT

private:
    QTextEdit *message_zone;
    //QScrollBar *vertical_scroll_bar;
    QLineEdit *message_line;
    QPushButton *send_button;

    CChat *c_chat;
public:
    VChat(QWidget *parent = 0);
    ~VChat();

signals:

public slots:
    void send_message();
    void receive_chat(QString message);

};

#endif // VCHAT_H
